package com.atguigu.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient//nacos注册
public class ApiGatewayApplication {
	/**
	 * 如果我们有两个相同的server-edu服务，不在一个端口号(网关会给我们进行负载均衡)
	 * @param args
	 */

	public static void main(String[] args) {
		SpringApplication.run(ApiGatewayApplication.class);
	}

}
